project(FKASGradle)
cmake_minimum_required(VERSION 3.22.1)
set(JAVA_AWT_LIBRARY NotNeeded)
set(JAVA_JVM_LIBRARY NotNeeded)
set(JAVA_INCLUDE_PATH2 NotNeeded)
set(JAVA_AWT_INCLUDE_PATH NotNeeded)
find_package(JNI REQUIRED)
include_directories(${JNI_INCLUDE_DIRS})
include_directories(include)
include_directories(lib/cpp/lua/include)
add_subdirectory(lib/cpp/lua)
aux_source_directory(src FKASGradle_SRC)
add_library(FKASGradle SHARED ${FKASGradle_SRC})
target_link_libraries(FKASGradle lua)